GrapeCity.Xaml.CalcEngine
Evaluate(Object[]) Method


The args contains 2 - 255 items: index_num, value1, [value2], ..

Index_num specifies which value argument is selected.

Value1,value2,... are 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.

Uses index_num to return a value from the list of value arguments.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As Object _
) As Object
'Usage
 
Dim instance As CalcChooseFunction
Dim args() As Object
Dim value As Object
 
value = instance.Evaluate(args)
public override object Evaluate( 
   object[] args
)

Parameters

args

The args contains 2 - 255 items: index_num, value1, [value2], ..

Index_num specifies which value argument is selected.

Value1,value2,... are 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.

Return Value

A System.Object value that indicates the evaluate result.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

CalcChooseFunction Class
CalcChooseFunction Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options